Creates a new instance of the KernelImage class.
data
An array containing the image data buffer. <
width
The width of the image in pixels.
height
The height of the image in pixels.
format
The image format as defined in ImageFormat.
A KernelImage object.